package com.orange.eduservice.client;

import com.orange.commonutils.result.Result;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author orange
 * @email orangestart@yeah.net
 * @create 2021-12-21 17:57
 * 熔断器实现类
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{

    @Override
    public Result removeVideo(String videoId) {
        return Result.error().message("timeout...");
    }

    @Override
    public Result removeVideoList(List<String> videoIdList) {
        return Result.error().message("timeout...");
    }
}
